<resources xmlns:tools="http://schemas.android.com/tools">

    <style name="ApplicationTheme">

    </style>

    <!-- Theme #1. Blue -->
    <style name="ApplicationTheme.ColorThemes.Default" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColor</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="android:colorBackground">@color/background</item>
        <item name="colorPrimary">@color/accentColor</item>
        <item name="colorPrimaryVariant">@color/accentColor</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColor</item>
        <item name="colorSecondaryVariant">@color/accentColor</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColor</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="msgrBackgroundColor">@color/messengerBackgroundColor</item>
        <item name="inMsgBubbleBackgroundColor">@color/inMessageColor</item>
        <item name="inMessageTextColor">@color/inMessageTextColor</item>
        <item name="outMsgBubbleBackgroundColor">@color/outMessageColor</item>
        <item name="outMessageTextColor">@color/outMessageTextColor</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.ColorThemes.Default.Dialog.IfTablet" parent="Theme.MaterialComponents.DayNight.DialogWhenLarge">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColor</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="colorPrimary">@color/accentColor</item>
        <item name="colorPrimaryVariant">@color/accentColor</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColor</item>
        <item name="colorSecondaryVariant">@color/accentColor</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColor</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <!-- Theme #2. Green -->
    <style name="ApplicationTheme.ColorThemes.Green" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorGreen</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="android:colorBackground">@color/backgroundGreen</item>
        <item name="colorPrimary">@color/accentColorGreen</item>
        <item name="colorPrimaryVariant">@color/accentColorGreen</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorGreen</item>
        <item name="colorSecondaryVariant">@color/accentColorGreen</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorGreen</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="msgrBackgroundColor">@color/messengerBackgroundColorGreen</item>
        <item name="inMsgBubbleBackgroundColor">@color/inMessageColorGreen</item>
        <item name="inMessageTextColor">@color/inMessageTextColorGreen</item>
        <item name="outMsgBubbleBackgroundColor">@color/outMessageColorGreen</item>
        <item name="outMessageTextColor">@color/outMessageTextColorGreen</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.ColorThemes.Green.Dialog.IfTablet" parent="Theme.MaterialComponents.DayNight.DialogWhenLarge">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorGreen</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="colorPrimary">@color/accentColorGreen</item>
        <item name="colorPrimaryVariant">@color/accentColorGreen</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorGreen</item>
        <item name="colorSecondaryVariant">@color/accentColorGreen</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorGreen</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <!-- Theme #3. Red -->
    <style name="ApplicationTheme.ColorThemes.Red" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorRed</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="android:colorBackground">@color/backgroundRed</item>
        <item name="colorPrimary">@color/accentColorRed</item>
        <item name="colorPrimaryVariant">@color/accentColorRed</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorRed</item>
        <item name="colorSecondaryVariant">@color/accentColorRed</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorRed</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="msgrBackgroundColor">@color/messengerBackgroundColorRed</item>
        <item name="inMsgBubbleBackgroundColor">@color/inMessageColorRed</item>
        <item name="inMessageTextColor">@color/inMessageTextColorRed</item>
        <item name="outMsgBubbleBackgroundColor">@color/outMessageColorRed</item>
        <item name="outMessageTextColor">@color/outMessageTextColorRed</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.ColorThemes.Red.Dialog.IfTablet" parent="Theme.MaterialComponents.DayNight.DialogWhenLarge">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorRed</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="colorPrimary">@color/accentColorRed</item>
        <item name="colorPrimaryVariant">@color/accentColorRed</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorRed</item>
        <item name="colorSecondaryVariant">@color/accentColorRed</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorRed</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <!-- Theme #4. Violet -->
    <style name="ApplicationTheme.ColorThemes.Violet" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorViolet</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="android:colorBackground">@color/backgroundViolet</item>
        <item name="colorPrimary">@color/accentColorViolet</item>
        <item name="colorPrimaryVariant">@color/accentColorViolet</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorViolet</item>
        <item name="colorSecondaryVariant">@color/accentColorViolet</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorViolet</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="msgrBackgroundColor">@color/messengerBackgroundColorViolet</item>
        <item name="inMsgBubbleBackgroundColor">@color/inMessageColorViolet</item>
        <item name="inMessageTextColor">@color/inMessageTextColorViolet</item>
        <item name="outMsgBubbleBackgroundColor">@color/outMessageColorViolet</item>
        <item name="outMessageTextColor">@color/outMessageTextColorViolet</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.ColorThemes.Violet.Dialog.IfTablet" parent="Theme.MaterialComponents.DayNight.DialogWhenLarge">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorViolet</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="colorPrimary">@color/accentColorViolet</item>
        <item name="colorPrimaryVariant">@color/accentColorViolet</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorViolet</item>
        <item name="colorSecondaryVariant">@color/accentColorViolet</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorViolet</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <!-- Theme #5. Orange -->
    <style name="ApplicationTheme.ColorThemes.Orange" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorOrange</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="android:colorBackground">@color/backgroundOrange</item>
        <item name="colorPrimary">@color/accentColorOrange</item>
        <item name="colorPrimaryVariant">@color/accentColorOrange</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorOrange</item>
        <item name="colorSecondaryVariant">@color/accentColorOrange</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorOrange</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="msgrBackgroundColor">@color/messengerBackgroundColorOrange</item>
        <item name="inMsgBubbleBackgroundColor">@color/inMessageColorOrange</item>
        <item name="inMessageTextColor">@color/inMessageTextColorOrange</item>
        <item name="outMsgBubbleBackgroundColor">@color/outMessageColorOrange</item>
        <item name="outMessageTextColor">@color/outMessageTextColorOrange</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.ColorThemes.Orange.Dialog.IfTablet" parent="Theme.MaterialComponents.DayNight.DialogWhenLarge">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorOrange</item>
        <item name="android:colorBackground">@android:color/white</item>
        <item name="colorPrimary">@color/accentColorOrange</item>
        <item name="colorPrimaryVariant">@color/accentColorOrange</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorOrange</item>
        <item name="colorSecondaryVariant">@color/accentColorOrange</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorOrange</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <!-- Theme #6. Teal -->
    <style name="ApplicationTheme.ColorThemes.Teal" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorTeal</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="android:colorBackground">@color/backgroundTeal</item>
        <item name="colorPrimary">@color/accentColorTeal</item>
        <item name="colorPrimaryVariant">@color/accentColorTeal</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorTeal</item>
        <item name="colorSecondaryVariant">@color/accentColorTeal</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorTeal</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="msgrBackgroundColor">@color/messengerBackgroundColorTeal</item>
        <item name="inMsgBubbleBackgroundColor">@color/inMessageColorTeal</item>
        <item name="inMessageTextColor">@color/inMessageTextColorTeal</item>
        <item name="outMsgBubbleBackgroundColor">@color/outMessageColorTeal</item>
        <item name="outMessageTextColor">@color/outMessageTextColorTeal</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.ColorThemes.Teal.Dialog.IfTablet" parent="Theme.MaterialComponents.DayNight.DialogWhenLarge">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorTeal</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="colorPrimary">@color/accentColorTeal</item>
        <item name="colorPrimaryVariant">@color/accentColorTeal</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorTeal</item>
        <item name="colorSecondaryVariant">@color/accentColorTeal</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorTeal</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <!-- Theme #7. Ocean -->
    <style name="ApplicationTheme.ColorThemes.Ocean" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorOcean</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="android:colorBackground">@color/backgroundOcean</item>
        <item name="colorPrimary">@color/accentColorOcean</item>
        <item name="colorPrimaryVariant">@color/accentColorOcean</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorOcean</item>
        <item name="colorSecondaryVariant">@color/accentColorOcean</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorOcean</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="msgrBackgroundColor">@color/messengerBackgroundColorOcean</item>
        <item name="inMsgBubbleBackgroundColor">@color/inMessageColorOcean</item>
        <item name="inMessageTextColor">@color/inMessageTextColorOcean</item>
        <item name="outMsgBubbleBackgroundColor">@color/outMessageColorOcean</item>
        <item name="outMessageTextColor">@color/outMessageTextColorTeal</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.ColorThemes.Ocean.Dialog.IfTablet" parent="Theme.MaterialComponents.DayNight.DialogWhenLarge">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorOcean</item>
        <item name="actionBarTint">@android:color/white</item>
        <item name="colorPrimary">@color/accentColorOcean</item>
        <item name="colorPrimaryVariant">@color/accentColorOcean</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorOcean</item>
        <item name="colorSecondaryVariant">@color/accentColorOcean</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorOcean</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <!-- Theme #8. Neon -->
    <style name="ApplicationTheme.ColorThemes.Neon" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/backgroundDark</item>
        <item name="actionBarTint">@color/actionBarTintNeon</item>
        <item name="colorPrimary">@color/accentColorNeon</item>
        <item name="android:colorBackground">@color/backgroundNeon</item>
        <item name="colorPrimaryVariant">@color/accentColorNeon</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorNeon</item>
        <item name="colorSecondaryVariant">@color/accentColorNeon</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorNeon</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="msgrBackgroundColor">@color/messengerBackgroundColorNeon</item>
        <item name="inMsgBubbleBackgroundColor">@color/inMessageColorNeon</item>
        <item name="inMessageTextColor">@color/inMessageTextColorNeon</item>
        <item name="outMsgBubbleBackgroundColor">@color/outMessageColorNeon</item>
        <item name="outMessageTextColor">@color/outMessageTextColorNeon</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.ColorThemes.Neon.Dialog.IfTablet" parent="Theme.MaterialComponents.DayNight.DialogWhenLarge">
        <!-- Primary brand color. -->
        <item name="actionBarColor">@color/actionBarColorNeon</item>
        <item name="actionBarTint">@color/actionBarTintNeon</item>
        <item name="colorPrimary">@color/accentColorNeon</item>
        <item name="colorPrimaryVariant">@color/accentColorNeon</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorSecondary">@color/accentColorNeon</item>
        <item name="colorSecondaryVariant">@color/accentColorNeon</item>
        <item name="colorOnSecondary">@color/black</item>
        <item name="colorAccent">@color/accentColorNeon</item>
        <item name="preferenceTheme">@style/ApplicationTheme.Preference</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ApplicationTheme.Toolbar">

    </style>

    <style name="ApplicationTheme.Toolbar.Dark">
        <item name="backgroundColor">?attr/colorPrimaryDark</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">#86ffffff</item>
        <item name="colorOnPrimary">@color/white</item>
        <item name="colorOnSecondary">#86ffffff</item>
        <item name="titleTextStyle">?attr/textAppearanceHeadline3</item>
        <item name="navigationIconTint">?attr/actionBarTint</item>
        <item name="iconTint">?attr/actionBarTint</item>
    </style>

    <style name="ApplicationTheme.BottomNavigation" parent="Widget.MaterialComponents.BottomNavigationView">
        <item name="backgroundTint">@color/white</item>
        <item name="elevation">8dp</item>
    </style>

    <style name="ApplicationTheme.Navigation" parent="Widget.MaterialComponents.NavigationView">
        <item name="itemTextAppearance">?attr/textAppearanceSubtitle2</item>
        <item name="listPreferredItemHeightSmall">44dp</item>
    </style>

    <style name="ApplicationTheme.Preference" parent="@style/PreferenceThemeOverlay.v14.Material">
        <item name="tint">?attr/colorAccent</item>
    </style>

    <style name="RosterGroupName">
        <item name="android:textSize">22sp</item>
        <item name="android:textStyle">bold</item>
        <item name="android:paddingTop">2dp</item>
        <item name="android:paddingBottom">2dp</item>
        <item name="android:drawableLeft">@drawable/ic_arrow_down</item>
    </style>

    <style name="RosterGroupItem">
        <item name="android:textSize">20sp</item>
    </style>

    <style name="RosterGroupItem.Light">
        <item name="android:textColor">#000000</item>
    </style>

    <style name="RosterMessageCounter">
        <item name="android:visibility">gone</item>
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_gravity">center_horizontal</item>
        <item name="android:layout_alignParentBottom">true</item>
        <item name="android:layout_alignParentRight">true</item>
        <item name="android:layout_alignParentEnd">true</item>
        <item name="android:layout_marginRight">4dip</item>
        <item name="android:layout_marginEnd">4dip</item>
        <item name="android:layout_marginLeft">4dip</item>
        <item name="android:layout_marginStart">4dip</item>
        <item name="android:gravity">center</item>
        <item name="android:paddingTop">2dip</item>
        <item name="android:paddingBottom">2dip</item>
        <item name="android:paddingLeft">5dip</item>
        <item name="android:paddingStart">5dip</item>
        <item name="android:paddingRight">5dip</item>
        <item name="android:paddingEnd">5dip</item>
        <item name="android:singleLine">true</item>
        <item name="android:lines">1</item>
        <item name="android:ellipsize">marquee</item>
        <item name="android:textSize">11dip</item>
        <item name="android:textColor">#FFFFFFFF</item>
        <item name="android:text" />
    </style>

    <style name="ApplicationTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

    <style name="ApplicationTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />

    <style name="ShapeAppearanceOverlay" />

    <style name="ShapeAppearanceOverlay.Circle">
        <item name="cornerSize">50%</item>
    </style>

    <style name="ShapeAppearanceOverlay.Round8">
        <item name="cornerSize">8dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Round16">
        <item name="cornerSize">16dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Round32">
        <item name="cornerSize">32dp</item>
    </style>

    <style name="ApplicationTheme.ProgressBar" parent="Widget.AppCompat.ProgressBar" />

    <style name="ApplicationTheme.Button" parent="Widget.MaterialComponents.Button">
        <item name="materialThemeOverlay">@style/ApplicationTheme.Overlay</item>
    </style>

    <style name="ApplicationTheme.Overlay">
        <item name="colorPrimary">?attr/colorAccent</item>
    </style>

    <style name="ApplicationTheme.Toolbar.Title" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Title">
        <item name="android:textSize">20sp</item>
    </style>

    <style name="ApplicationTheme.Toolbar.Subtitle" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle">
        <item name="android:textSize">14sp</item>
    </style>


</resources>